package com.xlisteven.echart.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xlisteven.echart.bean.Phone;
import com.xlisteven.echart.mapper.IndexMapper;
import com.xlisteven.echart.service.IndexService;

@Service
public class IndexServiceImpl implements IndexService{

	@Autowired
	IndexMapper indexMapper;
	@Override
	public List<Phone> findAllPhone() {
		return indexMapper.selectAll();
	}
	@Override
	public List<Map<String, Object>> queryJSON() {
		return indexMapper.queryJSON();
	}

}
